package com.dog.basics.bean.dto.admin.common;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;
import javax.validation.constraints.Size;

/**
 * @program: singingtogether
 * @description: 绑定第三方
 * @author: Guo
 * @create: 2019-12-21 11:31
 **/
@Data
@ApiModel(value = "绑定第三放参数")
public class AppConnectBindDto {

    @ApiModelProperty(value = "第三方类型", dataType = "String", example = "( QQ / WX)")
    @NotNull
    @Size(min = 2, max = 2)
    private String appType;

    @ApiModelProperty(value = "Code参数", dataType = "String", example = "")
    @NotNull
    private String code;
}
